//
//  oldOrderBottomButtonView_ConfirmStep.m
//  laonianbangSupport
//
//  Created by 勇拓 李 on 18/3/6.
//  Copyright © 2018年 zaiyou. All rights reserved.
//

#import "oldOrderBottomButtonView_ConfirmStep.h"

@interface oldOrderBottomButtonView_ConfirmStep()
@property (weak, nonatomic) IBOutlet UIButton *btn_confirm;
@property (weak, nonatomic) IBOutlet UIButton *btn_cancel;

@end

@implementation oldOrderBottomButtonView_ConfirmStep

- (void)awakeFromNib
{
    [super awakeFromNib];
    _btn_confirm.layer.cornerRadius = 6.f;
    _btn_cancel.layer.cornerRadius = 6.f;
    [_btn_confirm addTarget:self action:@selector(btn_confirm_tapped:) forControlEvents:UIControlEventTouchDown];
    [_btn_cancel addTarget:self action:@selector(btn_cancel_tapped:) forControlEvents:UIControlEventTouchDown];
}

- (void)btn_confirm_tapped:(id)sender
{
    [self.delegate btnOrderCofirm];
}

- (void)btn_cancel_tapped:(id)sender
{
    [self.delegate btnOrderCofirmStepCancel];
}

@end
